package com.celesea.oauth2.user.entity;

import com.celesea.framework.entity.BusEntity;
import com.celesea.framework.util.Version;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author JackYuan
 * @create 2017-11-08 21:18
 */
@Version
@Table(name = "user")
public class User extends BusEntity {
    @Column(name = "`name`",columnDefinition = "名称")
    private String name;
    @Column(name = "`py`",columnDefinition = "拼音")
    private String py;
    @Column(name = "`account`",columnDefinition = "账号")
    private String account;
    @Column(name = "`password`",columnDefinition = "密码")
    private String password;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPy() {
        return py;
    }

    public void setPy(String py) {
        this.py = py;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
